package org.jix.gbook.user.relation.biz.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import org.jix.framework.common.exception.BaseExceptionInterface;

/**
 * @author stark
 * @date 2025/10/4 下午2:25
 * @description 响应异常码
 **/

@AllArgsConstructor
@Getter
public enum ResponseCodeEnum implements BaseExceptionInterface {

    // ----------- 通用异常状态码 -----------
    SYSTEM_ERROR("RELATION-10000", "网络异常..."),
    PARAM_NOT_VALID("RELATION-10001", "参数错误"),

    // ----------- 业务异常状态码 -----------
    ;

    // 异常码
    private final String errorCode;
    // 错误信息
    private final String errorMessage;
}
